package com.group3.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

/**
 * UpdatePassword
 *
 * @author HY
 * 2021/06/05 9:45
 **/

@Data
@ToString
@ApiModel("修改密码接收类")
public class UpdatePassword {

    //to doNE 应该不需要传用户名，而是根据token来取
//    @ApiModelProperty(value = "用户名",required = true)
//    private String username;

    @ApiModelProperty(value = "用户原密码",required = true)
    private String password;

    @ApiModelProperty(value = "用户新密码",required = true)
    private String newPassword;
}
